//
//  UpLoadMyPhoto.h
//  Comma
//
//  Created by 杜远洋 on 15-1-29.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^ConnectBlock)(NSData *resultData);

@interface UpLoadMyPhoto : NSObject<NSURLConnectionDataDelegate>

@property (nonatomic, retain) NSMutableData * myData;
@property (nonatomic, copy) ConnectBlock myBolck;

+ (void)uploadWithImageName:(NSString *)name imageData:(NSData *)imageData finish:(ConnectBlock)block;

@end
